for i in range(2022, 10**5):
    if i % 64 == 0:
        print(i)
        break